package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.GrogshopRoom;
import cn.wolfcode.trip.base.domain.OrderForm;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IOrderFormService {

    void saveOrUpdate(OrderForm grogshopRoom);

    PageInfo<OrderForm> query(QueryObject qo);
    //修改订单状态
    void updateStatus(Long id, Integer state);

    //根据用户的id查询酒店订单信息
    List<OrderForm> getUserIdOrderForm(Long userId);

}
